//
//  PrescriptionOrderDoctorInfoDetailCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2021/8/12.
//  Copyright © 2021 QDSG. All rights reserved.
//

import UIKit

class PrescriptionOrderDoctorInfoDetailCell: UITableViewCell {
    
    func bind(to viewModel: PrescriptionOrderDetailCellViewModel) {
//        evolutionLabel.text = viewModel.evolutionDoctorName
        deployLabel.text = viewModel.deployDoctorName
        sendLabel.text = viewModel.sendDoctorName
        auditorSignImgView.kf.setImage(with: URL(string: viewModel.auditorSignImg))
        openDoctorSignImgView.kf.setImage(with: URL(string: viewModel.openDoctorSignImg))
        distributeTimeLabel.text = viewModel.distributeTime
        passTimeLabel.text = viewModel.passTime
        compoundTimeLabel.text  = viewModel.compoundTime
        createTimeLabel.text = viewModel.createTime
    }
    @IBOutlet weak var openDoctorSignImgView: UIImageView!
    
    @IBOutlet weak var auditorSignImgView: UIImageView!

    
    @IBOutlet private weak var deployLabel: UILabel!
    @IBOutlet private weak var sendLabel: UILabel!
    
    //发药时间
    @IBOutlet weak var distributeTimeLabel: UILabel!
    //审核时间
    @IBOutlet weak var passTimeLabel: UILabel!
    //配药时间
    @IBOutlet weak var compoundTimeLabel: UILabel!
    //开方时间
    @IBOutlet weak var createTimeLabel: UILabel!
}
